The following constructs were introduced in Erlang/OTP 29 and are not supported in earlier versions:
[I, -I || I <- lists:seq(1, 5)]Using them with an older Erlang SDK will result in syntax errors. This inspection helps prevent such errors by highlighting incompatible usage.
Example of unsupported usage in Erlang versions prior to OTP 29:
[I, -I || I <- lists:seq(1, 5)]
To fix this issue, either upgrade your Erlang SDK to version 29 or later, or return a single value from the comprehension head.
See EEP 78 (multi-valued comprehensions).